package gamestates
{
	import flash.events.MouseEvent;
	
	/**
	 * ...
	 * @author Georg Kamptner
	 */
	public class GameStateIntroScreen implements IGameState
	{
		private var _game:Game;
		
		public function GameStateIntroScreen(game:Game) 
		{
			_game = game;
		}
		
		public function init():void
		{
			_game.logStatus("Start Screen - Mode");
			_game.buildIntroScreenView();
		}
		
		public function onMouseUp(e:MouseEvent):void {}
		
				
		public function changeStateToStartScreen():void
		{
			// change to new state
			_game.state = _game.getGameState(Game.START_SCREEN);
			_game.state.init();
		}
		
		public function changeStateToDefault():void
		{
			// the application cannot change to defaultGameState, you need to select a gamefirst
		}
		
		public function changeStateToAddBody():void
		{
			// You can not go from StartScreen directly to Add Body Mode!;
		}
		
		public function changeStateToModifyBodies():void
		{
			// You can not go from StartScreen directly to Modify Bodies Mode!;
		}
		public function changeStateToSettingsScreen():void{}
		public function swapPlayers():void
		{
			// you can not swap Player in StartScreen Mode
		}
		
		public function quit():void 
		{
			// not yet implemented
		}
		
		public function onPlayerWon(player:Player):void {}
		public function changeStateToGameSelection():void{}
		public function changeStateToIntroScreen():void{}
	}
	
}